<template>
  <span>{{test}}</span>
</template>

<script>
export default {
  name: "test.vue",
  data(){
    return{
      test:''
    }
  },
  methods:{
    testMethod(){
      this.$axios.get("http://127.0.0.1:8080/user/test").then(
          response=>{
            this.test = response.data
          }
      )
    }
  },
  created() {
    this.testMethod()
  }
}
</script>

<style scoped>

</style>